# -*- encoding:utf-8 -*-
# !/usr/bin/env python
'''
    python-0810-09.py
    ======================
    @descript: 
    @copyright:nnz
    @author:dln
    @date: 2021/8/10 20:36
    @version:v1.0
'''
#所有特征值都一样用类变量
#不同的时候用对象变量
class A:
    school_name='西安大学'
    def __init__(self,p_name,p_arge,p_sex,p_height):
        self.v_name=p_name
        self.v_arge=p_arge
        self.v_sex=p_sex
        self.v_height=p_height
        pass
    pass
v_student01=A('dln',20,'女',170)
v_student02=A('dln1',21,'女',171)
v_student03=A('dln2',22,'女',172)
print(v_student01.school_name,v_student01.v_name,v_student01.v_arge,v_student01.v_sex,v_student01.v_height)
print(v_student02.school_name,v_student02.v_name,v_student02.v_arge,v_student02.v_sex,v_student02.v_height)
print(v_student03.school_name,v_student03.v_name,v_student03.v_arge,v_student03.v_sex,v_student03.v_height)